<style>
div .thumb{
	height:60px;
	width:200px;
	background:#F7F7F7;
	margin-bottom: 3px;
	padding:10px;
	color:#000000;
	cursor:pointer;
	cursor:hand;
}
div .active{
	background:#7F7F7F;
	color:#FFFFFF;
}
div .thumb_image{
	display:inline;
	width:60px;
	float: left;
	margin-right: 10px;
}
div .thumb_title{	
	float:left;
	width:130px;	
}
</style>
<div class="galleries" style="">
	<div class="header-bar">
		<h1>วีดีทัศน์</h1>
	</div>
	<?php echo $vdos->pagination()?>
	<? foreach($vdos as $item): ?>
	<div id="vdo_frame" style="border: 1px solid #CCCCCC;height: 90px;width:100%;padding:10px;">
		<table width="100%">
			<td valign="top" width="90" align="center"><?php echo thumb($item->cover_pic,80,80,0)?></td>
			<td valign="top" align="left">
				<a href="vdos/index/<?=$item->id;?>"><h3><?=$item->title;?></h3></a>
				<?=$item->description;?>
			</td>
		</table>
	</div>
	<? endforeach;?>
	<div class="clear"></div>
	<div class="clear"></div>
	<?php echo $vdos->pagination()?>